package com.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@Entity
@Table(name = "website_visitorabnormal")
public class WebsiteVisitorAbnormal {

    @Id
    private String id;
    private String addr;
    private String msg;
    private String uri;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    //private Date createtime;
    private LocalDateTime createtime;
}
